package com.will.weiyuekotlin.net

import com.will.weiyuekotlin.bean.WeatherBean
import io.reactivex.Observable
import retrofit2.http.Field
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query


/**
 * desc: .
 * author: Will .
 * date: 2017/9/27 .
 */
interface WeatherApiService {
    @GET(("common?source=pc&weather_type=observe%7Cforecast_1h%7Cforecast_24h%7Cindex%7Calarm%7Climit%7Ctips%7Crise"))
    fun getWeather(@Query("province") province: String, @Query("city") city: String, @Query("county") county: String): Observable<WeatherBean>

}
